package com.oa.pm.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName("pm_social_recruitment_channel_management_contract")
@Data
public class SocialRecruitmentChannelManagementContract extends Model<SocialRecruitmentChannelManagementContract> {

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("社招渠道管理表id")
    private String socialRecruitmentChannelManagementId;

    @ApiModelProperty("到期时间")
    private Date expirationDate;

    @ApiModelProperty("提醒时间")
    private Integer reminderDay;

    @ApiModelProperty("付款方式")
    private String paymentMethod;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
